(function(){
		var video_url=[
			"https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/812358b69886e576c66a01f1f00affe9.mp4",
			"https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/11c70c96529b6e6938567ec1aa0910e0.mp4",
			"https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7cdabcaa763392c86b944eaf4e68d6a3.mp4",
			"https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/e25d81c4922fca5ebe51877717ef9b76.mp4"
		]
		var video_box_item=document.getElementsByClassName("video_box_item")[0];
		// 视频tag
		var video_item_li_a=video_box_item.getElementsByClassName("video_item_li_a");
		
		// console.log(video_item_li_a);
		// 视频窗口
		var video_play_box=document.getElementsByClassName("video_play_box")[0];
		// 视频播放的标题
		var video_play_box_title=video_play_box.getElementsByClassName("video_play_box_title")[0];
		// 视频窗口关闭
		var close_video=document.getElementsByClassName("close_video")[0];
		// 视频的内容
		var video_play_box_content_v=video_play_box.getElementsByClassName("video_play_box_content_v")[0];
		close_video.onclick=function(){
			video_play_box.style.opacity=0;//1
			video_play_box.style.zIndex=-111111;///6666666
			video_play_box_content_v.src="";
		}
		for(let i=0;i<video_item_li_a.length;i++){
			video_item_li_a[i].index=i;
			video_item_li_a[i].onclick=function(){
				// 视频标题
				var video_box_title=video_item_li_a[this.index].getElementsByClassName("video_box_title")[0];
				video_play_box.style.opacity=1;//1
				video_play_box.style.zIndex=6666666;///
				// 更改视频标题
				video_play_box_title.innerText=video_box_title.innerText;
				//更改视频url
				video_play_box_content_v.src=video_url[this.index];
			}
		}
		
	})()